home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / util / rexx / SuperEval.readme < prev    next >
Encoding:
Text File  |  1998-05-05  |  1.7 KB  |  55 lines

  1. Short:    Add trig (rexxmathlib) to eval command
  2. Author:   Chris Eburn  <ceburn@midcoast.com.au>
  3. Uploader: Chris Eburn  <ceburn@midcoast.com.au>
  4. Version:  1.0
  5. Type:     util/rexx
  6. Required: rexxmathlib.library
  7.  
  8.  
  9. What follows is the comment header of EVAL.rexx
  10.  
  11. /****
  12. *   Enhanced "c:Eval" Command
  13. *
  14. *   With trig and other functions
  15. *   see REXXMATHLIB.library for fuction details
  16. *
  17. *   syntax is the same as the rexxmathlib function calls
  18. *              ie: func(x[,y])
  19. *          OR spaces may be used as deliminators (in all funtions)
  20. *              ie: func x [y]
  21. *
  22. *   There are two extra functions:
  23. *
  24. *   1)   DEG(deg,min,sec) outputs Decimal degrees
  25. *     or the alternative syntax is DEG(dd.mmss)
  26. *
  27. *   2)   DMS(DD.dddd) outputs dd mm ss
  28. *
  29. *
  30. *   If the function is unknown to rexxmathlib then the original line is
  31. *      passed, as typed, to the c:eval function. This alows for all the
  32. *      original "eval" maths (and syntax) to be used as a failsafe.
  33. *
  34. *
  35. *   Add the line
  36. *         Alias  Eval  rx rexx:eval.rexx []
  37. *                 into the s:shell-startup script and use in any Shell
  38. *                 syntax:  eval func(x[,y])  OR as per dos EVAL command
  39. *   Put eval.rexx into rexx:
  40. *   and rexxmathlib.library into libs:
  41. *
  42. *     NOTE: all angles are input as decimal DEGREES    (NOT radians)
  43. **/
  44.  
  45.  
  46. ============================= Archive contents =============================
  47.  
  48. Original  Packed Ratio    Date     Time    Name
  49. -------- ------- ----- --------- --------  -------------
  50.      628     254 59.5% 27-Apr-98 20:23:26  SuperEval.info
  51.     3520    1462 58.4% 27-Apr-98 18:14:26 +Eval.rexx
  52.     1310     653 50.1% 27-Apr-98 20:21:56 +SuperEval.readme
  53. -------- ------- ----- --------- --------
  54.     5458    2369 56.5% 27-Apr-98 18:44:26   3 files
  55.